sort by pic was sorting by time. fixed now