[resources] resource db manager modified to return the resources sorted by their order of creation

+ If an ExtractURLs command is after a main wvs command in resources profile, these resources must be returned in same order when they are requested from db
+ Keeping the order of resources profiles is benificial