fix - call to order_photos params
add - implementation of order_photos_by_rank
add - test path and dummy test for ranking