Share via option on Android 5.1
This is different in different roms, but in most cases apps will initially be sorted alphabetically and then by last used. The last used options will be at top.

Is there a specific reason you're asking this?