Sanskrit has free word order. For example, "krishnam naro'shvam prashyati sundaram" -- the man sees the beautiful black horse. Here Krishnam == black, sundaram == beautiful. naro'sham is the combined form (sandhi) of narah (man) + ashvam (horse) and prashyati == sees.
Though Indian languages derived from Sanskrit have simpler rules and the adjectives are roughly in the same order as English (but the endings have to match the noun).