working ranked ordering. updating every time app opens.