plut_utils: Intelligent key sort

Signed-off-by: Markus Pargmann <mpargmann@allfex.org>