limiting and sorting latest packages