sorting timecard image works (very innefficiently)