add individual sorting function for medialinks