Partially working friend sorting logic, missing current_user designation