It is the desire to have the calling sequence be index,data for all routines that require the index and data. Please try to avoid having any calling sequence of the form data,index.
In general, positional parameters should be used for any input which is required for the procedure. Keyword parameters should be used for the optional parameters.