pgrpm provides functions and operators to mimic rpm behaviour. This is espacialy useful if you want to sort row by version-release and take care of numeric values.