Sorting database alphabetically using reference field

I know that. But you cannot sort by a reference field! (Unless I am missing something big). The reference field does not show up in the list of fields to sort by in my photo database. It is a set of drop down options that come from another database (the individuals database). Please help!