[Request] auto generating lables

Hi all.

Wanted to ask, how difficult would it be to create a plugin to auto add labels to movies based on user a user defined attribute?

It would be nice to have auto generating labels such as last100 or last 200 – which would automatically label new movies and remove older ones - For better sorting and viewing of ratings in grid view

I have searched but anything that can do this already?

i guess it could be done using php and mysql , but outside of plex, rather than being channel based.